package com.bw.msg.mvvm.model.api;

import com.bw.msg.mvvm.model.entity.MessageEntity;

import io.reactivex.Observable;
import okhttp3.RequestBody;
import retrofit2.http.Body;
import retrofit2.http.POST;

public interface Api {
    //消息
//    http://118.195.161.134:8077/msg/getList
    @POST("msg/getList")
    Observable<MessageEntity> requestMessage(@Body RequestBody body);


}
